package com.itheima.chapter02.config;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

@Component
@Profile("test")
public class TestDBConnector implements DBConnector{
    @Override
    public void configure() {
        System.out.println("数据库配置环境 test");
    }
}
